package com.qding.park.manager.pojo.payment;

/**
  * @ClassName: OrderParameter
  * @Description: 订单参数
  * @author Comsys-Administrator
  * @date 2016年10月18日 上午9:49:16
  *
  */
public class OrderParameter {

	
	/**
	  * @Fields projectId : TODO（社区id）
	  */
	private String projectId;
	
	/**
	  * @Fields orderType : TODO（订单类型  1预定 2代客缴费  3临停缴费 4月租续费）
	  */
	private int orderType;
	
	/**
	  * @Fields totalPrice : TODO（订单总金额 单位为分）
	  */
	private int totalPrice;
	
	/**
	  * @Fields orderSource : TODO（订单来源 0app 1代客下单  2微信）
	  */
	private int orderSource;
	
	/**
	  * @Fields szCarpassId : TODO（深圳车行关联id）
	  */
	private String szCarpassId;
	
	
	/**
	  * @Fields memberId : TODO（会员id）
	  */
	private String memberId;
	
	
	/**
	  * @Fields qdDevice : TODO（设备名）
	  */
	private String qdDevice;
	
	/**
	  * @Fields qdPlatform : TODO（平台名称）
	  */
	private String qdPlatform;
	
	/**
	  * @Fields qdVersion : TODO（平台版本）
	  */
	private String qdVersion;

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public int getOrderType() {
		return orderType;
	}

	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}

	public int getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(int totalPrice) {
		this.totalPrice = totalPrice;
	}

	public int getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(int orderSource) {
		this.orderSource = orderSource;
	}

	public String getSzCarpassId() {
		return szCarpassId;
	}

	public void setSzCarpassId(String szCarpassId) {
		this.szCarpassId = szCarpassId;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getQdDevice() {
		return qdDevice;
	}

	public void setQdDevice(String qdDevice) {
		this.qdDevice = qdDevice;
	}

	public String getQdPlatform() {
		return qdPlatform;
	}

	public void setQdPlatform(String qdPlatform) {
		this.qdPlatform = qdPlatform;
	}

	public String getQdVersion() {
		return qdVersion;
	}

	public void setQdVersion(String qdVersion) {
		this.qdVersion = qdVersion;
	}
	
	
	public static enum OrderTypeEnum {
		
		RESERVER_TYPE(1,"预定"),
		CUSTOMER_PAYMENT_TYPE(2,"代客缴费"),
		TEMP_PAY_TYPE(3,"临停缴费"),
		MONTH_PAY_TYPE(4,"月租续费");
		
		private int type;
		
		private String desc;
		
		private OrderTypeEnum(int type,String desc){
			this.type=type;
			this.desc=desc;
		}

		public int getType() {
			return type;
		}

		public void setType(int type) {
			this.type = type;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
		
		
	}
	
	
//	public static enum OrderSourceEnum {
//		
//		
//		APP(0,"app"),
//		CUSTOMER(1,"代客下单"),
//		WX(2,"微信");
//		
//		private int type;
//		
//		private String desc;
//		
//		private OrderSourceEnum(int type,String desc){
//			this.type=type;
//			this.desc=desc;
//		}
//
//		public int getType() {
//			return type;
//		}
//
//		public void setType(int type) {
//			this.type = type;
//		}
//
//		public String getDesc() {
//			return desc;
//		}
//
//		public void setDesc(String desc) {
//			this.desc = desc;
//		}
//		
//		
//	}


	@Override
	public String toString() {
		return "OrderParameter [projectId=" + projectId + ", orderType=" + orderType + ", totalPrice=" + totalPrice
				+ ", orderSource=" + orderSource + ", szCarpassId=" + szCarpassId + ", memberId=" + memberId
				+ ", qdDevice=" + qdDevice + ", qdPlatform=" + qdPlatform + ", qdVersion=" + qdVersion + "]";
	}
	
}
